package chen.modal;

public class GoodsSingle {
        private String id;
	private String name;
	private float price;
	private int num;

    private String img;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
    public String getImg() {
		return this.img;
	}
	public void setImg(String imgname) {
		this.img = imgname;
	}
    public String toString()
    {  return name+'\t'+img+'\t'+num+'\t'+price;}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
